package com.u.character;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.u.eventInfo.EventInfo;
import com.u.eventInfo.EventLog;

import com.u.tool.MysqlUtil;
import com.u.toolbox.AbstractToolBox;
import com.u.toolbox.ToolBox;

public class Processer extends Role {
	
	String ServiceType;
	
	public Processer(Role role) {
		super(role);
		char serviceCode = role.getUseracc().charAt(1);
		switch(serviceCode) {
		case('1'):{this.ServiceType = "Technology"; break;}
		case('2'):{this.ServiceType = "Service"; break;}
		case('3'):{this.ServiceType = "Defend"; break;}
		default:break;
		}
	}
	
	

	public String getServiceType() {
		return ServiceType;
	}



	public void setServiceType(String serviceType) {
		ServiceType = serviceType;
	}

	
	
}
